/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import classes.Fornecedor;
import erro.ConexaoException;
import erro.ConsultaException;
import erro.DaoException;
import java.util.List;

/**
 *
 * @author George
 */
public interface IDaoFornecedor {
        public void inserir (Fornecedor fornec) throws ConexaoException,DaoException;
        public void alterar(Fornecedor fornec) throws ConexaoException,DaoException;
        public void deletar(Fornecedor fornec) throws ConexaoException,DaoException;
        public Fornecedor pesquisar(Fornecedor fornec) throws ConexaoException,DaoException;
        public List pesquisarFornec(Fornecedor fornec) throws ConexaoException,ConsultaException;
        public List listar() throws ConexaoException,ConsultaException;
}
